package cn.zxh.csdn_maven.work.flow.download;

import java.util.Map;

import org.apache.http.client.HttpClient;


/**
 * 控制工作流的接口
 * @author zhangxinhua
 *
 */
public interface IFlowController {
	
	/**添加下一个工作到工作流上*/
	public IFlowController setNextFlow(IFlowController flow);
	/**工作内容,url是我们需要执行的地址*/
	public Map<String, Object> run(HttpClient client,Map<String, Object> params) throws Exception;
}
